﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Juli.Mes.VisionDemo.Dtos
{
    public class TotalVoltageDto
    {
        public string Name { get; set; }

        /// <summary>
        /// 总电压
        /// </summary>
        public double TotalVoltage { get; set; } = 0;

        /// <summary>
        /// 总电流
        /// </summary>
        public double TotalAmmeter { get; set;}

        public List<VoltageDto> VoltageList { get; set; } =new List<VoltageDto>();

        public VoltageDto Max { get; set; }

        public VoltageDto Min { get; set; }
    }

    public class VoltageDto
    {
        public string Location { get; set; }

        public double Voltage { get; set; } = 0;
    }
}
